package com.agrm.rabc.service;

import com.agrm.model.rabc.dto.Resource;
import com.agrm.model.rabc.pojo.ResourceSearchBean;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;


import java.util.List;

public interface ResourceService {
    Page<Resource> findAll(ResourceSearchBean rsb, Page<Resource> page);

    Resource findById(Integer id);

    boolean save(Resource resource);

    boolean update(Resource resource);

    int deleteByIds(List<Integer> ids);
}
